body {
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;

    background-color: #F2F4F7;
}

a {
    text-decoration: none;
    color: #707070;
}

// 约束当屏幕大于 750px 的时候，html的字体大小就不变化了
@media screen and (min-width:750px) {
    html {
        font-size: 37.5px !important;
    }
}

.warp {
    background-color: #fff;
    margin-bottom: .2667rem;
    padding-bottom: 1.1467rem;
}

// header
.header {
    height: 2.1333rem;
    border-bottom: 1px solid #EAEAEA;
    line-height: 2.1333rem;
    text-align: center;
    font-size: .9333rem;
    color: #1C1C1C;
}

// nav
.nav {
    display: flex;
    flex-wrap: wrap;
    padding: 1.2rem 0 1.6rem 0;

    .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 33.33%;


        img {
            width: 3.7067rem;
            height: 3.7067rem;
        }

        span {
            font-size: .6667rem;
        }

        // item前三个
        &:nth-child(-n+3) {
            margin-bottom: 1.6533rem;
        }
    }
}

// go
.go {
    margin: 0 .4rem;

    img {
        width: 100%;
    }
}

// content

.content {
    padding: .6667rem .6133rem 0;
    background-color: #fff;
    margin-bottom: .2667rem;

    .content-top {
        display: flex;
        justify-content: space-between;
        height: 1.0133rem;
        line-height: 1.0133rem;
        margin-bottom: .9067rem;

        h3 {
            margin: 0;
            font-size: .7467rem;

            &::before {
                display: inline-block;
                content: "";
                width: 1.0133rem;
                height: 1.0133rem;
                background: url(../icons/i2.png) no-repeat;
                background-size: 1.0133rem 1.0133rem;
                vertical-align: top;
                margin-right: .48rem;

            }
        }


        a {

            font-size: .5867rem;
        }
    }
}

// 轮播图样式
.content-focus {
    position: relative;

    // 两个按钮的盒子
    .swiper-button-next,
    .swiper-button-prev {
        top: 45%;
        color: black;
    }

    // 两个按钮的大小
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1.5rem;
    }

    // 左按钮的位置
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next {
        left: 0rem;
        right: auto;
    }

    // 右按钮的位置
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev {
        right: 0rem;
        left: auto;
    }

    .swiper-container {
        // width: 100%;
        width: 14.4rem;
        height: 100%;
    }

    .swiper-slide {
        text-align: center;
        // font-size: 18px;
        background: #fff;
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        // 修改为纵向
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        transform: scale(0.8);
        opacity: 0.4;

        a {
            width: 9.0133rem;
            height: 10.0267rem;

            img {
                width: 100%;
                height: 100%;
            }
        }

        p {
            width: 9.0133rem;
            font-size: .6667rem;
            color: #333;
            margin-top: .64rem;
            margin-bottom: 1.0133rem;
        }
    }

    .swiper-slide-active,
    .swiper-slide-duplicate-active {
        transform: scale(1);
        z-index: 2;
        opacity: 1;
    }
}

// 充电学习
.content:nth-child(3) {
    padding-bottom: 3.7333rem;

    .content-top {
        h3 {
            &::before {
                display: inline-block;
                content: "";
                width: 1.0133rem;
                height: 1.0133rem;
                background: url(../icons/i1.png) no-repeat;
                background-size: 1.0133rem 1.0133rem;
                vertical-align: top;
                margin-right: .48rem;

            }
        }
    }
}

// 学习模块轮播图
.study {
    .swiper-wrapper {
        padding: .2667rem;
        // overflow: hidden;

        .swiper-slide {
            width: 7.7333rem;
            height: 8.5rem;
            text-align: left;
            background: #fff;
            border-radius: .2667rem;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

            img {
                width: 100%;
                object-fit: cover;
            }

            h5 {
                margin: 0;
                font-size: .7467rem;
                font-weight: 400;
                margin: .5333rem 0;
                padding: 0 .2667rem;
            }

            p {
                padding: 0 .2667rem;
                font-size: .6933rem;
                color: #999;
                margin: 0 !important;
            }
        }
    }

}

// 底部模块
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.9333rem;
    background-color: #FFF;
    z-index: 999;
    display: flex;
    padding: .5333rem;
    border-top: 1px solid #ccc;

    .item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;

        img {
            width: 1.04rem;
            height: 1.0933rem;
        }

        p {
            color: #999;
            font-size: .5867rem;
            margin-top: .2667rem
        }
    }
}